Skip to content

Conversation

@kianmeng
Copy link
Contributor

This PR updates the project to support newer Elixir (1.18) and OTP (28) versions, along with modernizing the codebase and updating CI configurations to match.

This PR updates the project to support newer Elixir (1.18) and OTP
(28) versions, along with modernizing the codebase and updating CI
configurations to match.
Comment on lines +6 to +10
setup_all do
TestPubSub.start_link()
Absinthe.Subscription.start_link(TestPubSub)
:ok
end
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sporadic error in CI:

  1) test Subscriptions over HTTP with Server Sent Events chunked response (standard) (Absinthe.PlugTest)
Error:      test/lib/absinthe/plug_test.exs:485
     ** (EXIT from #PID<0.332.0>) shutdown: failed to start child: Absinthe.Plug.TestPubSub.Registry
         ** (EXIT) already started: #PID<0.315.0>

.........................
Finished in 0.7 seconds (0.7s async, 0.00s sync)
86 tests, 1 failure

Randomized with seed 116773
Error: Process completed with exit code 2.

Comment on lines +5 to +6
import Plug.Test
import Plug.Conn
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                          
                                               
    │                                                                                                                                     
  2 │   use Absinthe.Plug.TestCase             
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                            
    │                             
    └─ test/lib/absinthe/plug_test.exs:2: Absinthe.PlugTest (module)                                                                                                                          
                                  
    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                          
                                               
    │                                                                                                                                     
  3 │   use Absinthe.Plug.TestCase             
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                            
    │                             
    └─ test/lib/absinthe/plug/transport_batching_test.exs:3: Absinthe.Plug.TransportBatchingTest (module)                                                                                     
                                  
    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                          
                                               
    │                                                                                                                                     
  3 │   use Plug.Test                          
    │   ~~~~~~~~~~~~~                                                                                                                                                                         
    │                             
    └─ test/lib/absinthe/graphiql_test.exs:3: Absinthe.Plug.GraphiQLTest (module)                                                                                                             

    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                                                                                                         
                                               
    │                                          
  2 │   use Absinthe.Plug.TestCase             
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                            
    │                                                 
    └─ test/lib/absinthe/plug/document_provider_test.exs:2: Absinthe.Plug.DocumentProviderTest (module)                                                                                       
                                                                                               
    warning: use Plug.Test is deprecated. Please use `import Plug.Test` and `import Plug.Conn` directly instead.                                                                                                         
                                                                                               
    │                                                 
  2 │   use Absinthe.Plug.TestCase                    
    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~                    
    │                                                 
    └─ test/lib/absinthe/plug/document_provider/compiled_test.exs:2: Absinthe.Plug.DocumentProvider.CompiledTest (module) 

app: :absinthe_plug,
version: @version,
elixir: "~> 1.13",
elixir: "~> 1.15",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant